#ifndef WANGGE_H
#define WANGGE_H
#include <QLabel>
#include <QDialog>

namespace Ui {
    class wangge;
}

class wangge : public QDialog
{
    Q_OBJECT

public:
    explicit wangge(QWidget *parent = 0);
    void set_cpu(QString s);
    ~wangge();
protected:
    void paintEvent(QPaintEvent *);
    void timerEvent(QTimerEvent *);
    float y[11];
    float t[11];
    float f[11],g[11],x[11],cun[11];
private:
    Ui::wangge *ui;
    QLabel *time;
};

#endif // WANGGE_H
